# 这个样写就不用引入app
HOSTNAME = "127.0.0.1"
PORT = 3306
USERNAME = "root"
PASSWORD = "2485864916"
DATABASE = "blog"
DB_URL = f"mysql+pymysql://{USERNAME}:{PASSWORD}@{HOSTNAME}:{PORT}/{DATABASE}?charset=utf8mb4"
SQLALCHEMY_DATABASE_URI = DB_URL

# 邮箱配置
MAIL_SERVER = "smtp.qq.com"
# 是否进行加密
MAIL_USER_SSL = True
# MAIL_PORT = 465  # 端口号，企业邮箱是465，试验后发现不写端口号能发送成功
MAIL_USERNAME = "2303944576"  # 可以自定义
# POP3/IMAP/SMTP/Exchange/CardDAV 授权码已生成
MAIL_PASSWORD = "mzkudytmkpmudich"
MAIL_DEFAULT_SENDER = "2303944576@qq.com"
